//
//  PickFoodViewController.h
//  ZooNgonDoiOS
//
//  Created by Trung sound on 8/9/12.
//  Copyright (c) 2012 Personal. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PickFoodTableView.h"
#import "CustomAlertView.h"
#import "AddFoodViewController.h"

@protocol PickFoodViewDelegate <NSObject>
@optional
-(void) pickFoodViewControllerDismissed:(NSMutableArray *)arFoodChecked arrayNoneCheck:(NSMutableArray *)arFoodNoneCheck;
@end

@interface PickFoodViewController : UIViewController <UIAlertViewDelegate, AddFoodDelegate>{
    UIButton *_btnBack;
    UIButton *_btnDone;
    UIView *_vHeader;
    NSArray *_arFoodAte;
    
    NSMutableArray *_arFoodChecked;
    NSMutableArray *_arFoodNoneCheck;

    NSMutableArray *_arFoodChecked_BK;
    NSMutableArray *_arFoodNoneCheck_BK;
    
    UIView *_vFooter;
    UILabel *_lbFooter;
    UIButton *_btnListAte;
    UILabel *_lbNumOfFood;
    UILabel *_lbFood;
    PickFoodTableView *_pickFoodTableView;
    CustomAlertView *_customAlertView;
    
    AddFoodViewController *addFoodView;

}
@property (nonatomic, assign) id<PickFoodViewDelegate> pickFoodViewDelegate;


- (id)initWithObject:(NSString *)a;
- (id)initWithObject:(NSMutableArray *)arFoodChecked arrayNoneChecked:(NSMutableArray *)arFoodNoneChecked;
- (void)setForArrayFoodAte:(NSMutableArray *)arFood;

@end
